package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * [题库]对象 question_store
 * 
 * @author ruoyi
 * @date 2020-10-07
 */
public class QuestionStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Integer id;

    /** 版本号 */
    @Excel(name = "版本号")
    private String vesionCode;

    /** 章节标识 */
    private Long courseCatalogId;

    /** 题型 */
    @Excel(name = "题型")
    private Long typeCode;

    /** 题型名称 */
    @Excel(name = "题型名称")
    private String typeName;

    /** 题面 */
    @Excel(name = "题面")
    private String content;

    /** 选项 */
    @Excel(name = "选项")
    private String options;

    /** 标准答案 */
    @Excel(name = "标准答案")
    private String standartAnswer;

    /** 参考答案 */
    @Excel(name = "参考答案")
    private String suggestAnswer;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDt;

    /** 修订时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修订时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDt;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setVesionCode(String vesionCode) 
    {
        this.vesionCode = vesionCode;
    }

    public String getVesionCode() 
    {
        return vesionCode;
    }
    public void setTypeCode(Long typeCode) 
    {
        this.typeCode = typeCode;
    }

    public Long getTypeCode() 
    {
        return typeCode;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setStandartAnswer(String standartAnswer) 
    {
        this.standartAnswer = standartAnswer;
    }

    public String getStandartAnswer() 
    {
        return standartAnswer;
    }
    public void setSuggestAnswer(String suggestAnswer) 
    {
        this.suggestAnswer = suggestAnswer;
    }

    public String getSuggestAnswer() 
    {
        return suggestAnswer;
    }
    public void setCreateDt(Date createDt) 
    {
        this.createDt = createDt;
    }

    public Date getCreateDt() 
    {
        return createDt;
    }
    public void setModifyDt(Date modifyDt) 
    {
        this.modifyDt = modifyDt;
    }

    public Date getModifyDt() 
    {
        return modifyDt;
    }

    public Long getCourseCatalogId() {
        return courseCatalogId;
    }

    public void setCourseCatalogId(Long courseCatalogId) {
        this.courseCatalogId = courseCatalogId;
    }

    @Override
    public String toString() {
        return "QuestionStore{" +
                "id=" + id +
                ", vesionCode='" + vesionCode + '\'' +
                ", courseCatalogId=" + courseCatalogId +
                ", typeCode=" + typeCode +
                ", typeName='" + typeName + '\'' +
                ", content='" + content + '\'' +
                ", options='" + options + '\'' +
                ", standartAnswer='" + standartAnswer + '\'' +
                ", suggestAnswer='" + suggestAnswer + '\'' +
                ", createDt=" + createDt +
                ", modifyDt=" + modifyDt +
                '}';
    }
}
